package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.ShopWalletRecordsDao;
import com.fsj.admin.system.domain.ShopWalletRecordsDO;
import com.fsj.admin.system.service.ShopWalletRecordsService;
import com.fsj.admin.system.vo.OrderWalletRecordsVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ShopWalletRecordsServiceImpl implements ShopWalletRecordsService {
    @Autowired
    private ShopWalletRecordsDao shopWalletRecordsDao;

    @Override
    public ShopWalletRecordsDO get(Long id) {
        return shopWalletRecordsDao.get(id);
    }

    @Override
    public List<ShopWalletRecordsDO> list(Map<String, Object> map) {
        return shopWalletRecordsDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return shopWalletRecordsDao.count(map);
    }

    @Override
    public int save(ShopWalletRecordsDO shopWalletRecords) {
        return shopWalletRecordsDao.save(shopWalletRecords);
    }

    @Override
    public int update(ShopWalletRecordsDO shopWalletRecords) {
        return shopWalletRecordsDao.update(shopWalletRecords);
    }

    @Override
    public int remove(Long id) {
        return shopWalletRecordsDao.remove(id);
    }

    @Override
    public int batchRemove(Long[] ids) {
        return shopWalletRecordsDao.batchRemove(ids);
    }

    @Override
    public List<OrderWalletRecordsVO> orderRecordsByShopId(Map<String, Object> map) {
        return shopWalletRecordsDao.orderRecordsByShopId(map);
    }

    @Override
    public int countOrderRecords(Map<String, Object> map) {
        return shopWalletRecordsDao.countOrderRecords(map);
    }

    @Override
    public OrderWalletRecordsVO getShopStatis(Map<String, Object> map) {
        return shopWalletRecordsDao.getShopStatis(map);
    }

    @Override
    public OrderWalletRecordsVO getSysStatis(Map<String, Object> map) {
        return shopWalletRecordsDao.getSysStatis(map);
    }

    @Override
    public List<OrderWalletRecordsVO> getStatisByDay(Map<String, Object> map) {
        return shopWalletRecordsDao.getStatisByDay(map);
    }


}
